package com.gaofeng.day03;

public class GirlFriendTest {
    public static void main(String[] args) {
        GirlFriend gf = new GirlFriend();
//        gf.name = "zhangl";
        gf.setName("张吉利");
        gf.setAge(18);
        gf.gender = "萌妹子";
        gf.eat();
        gf.sleep();
        System.out.println(gf.getName());
        System.out.println(gf.getAge());
        System.out.println(gf.gender);
        System.out.println("===========");
        GirlFriend gf1 = new GirlFriend();
//        gf1.name = "刘诗诗";
        gf1.setName("刘诗诗");
        gf1.setAge(52);
        gf1.gender = "萌妹子";
        gf1.eat();
        gf1.sleep();
        System.out.println(gf1.getName());
        System.out.println(gf1.getAge());
        System.out.println(gf1.gender);
    }
    /**
     * 面相对象三大特征:
     * 封装，多态，继承
     */
}
